package com.ruoyi.web.controller.custom;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.service.IRnxCountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName RnxCountController
 * @Description 统计需求
 * @Author yangtao2
 * @Date 2022/8/5 15:13
 * @Version 1.0
 **/

@RestController
@RequestMapping("/rnx/count")
public class RnxCountController extends BaseController {

	@Autowired
	IRnxCountService countService;

	@GetMapping("/headCount")
	public AjaxResult headCount() {
		return AjaxResult.success(countService.headCount());
	}

}
